<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="panel panel-default panel-intro">
        <div class="panel-heading"><div class="panel-lead"><em>{:__('赠送积分配置')}</em></div></div>
        <div class="panel-body">
            <table class="table table-striped table-bordered table-hover table-nowrap">
                <tr>
                    <td width="10%">
                        订单完成后，赠送积分比例1：
                    </td>
                    <td width="10%"><input id="c-key" data-rule="required" class="form-control form-control" name="zengsong" type="text" value="{$info.zengsong}"></td>
                    <td>(假设比例为1:2，用户完成10块钱订单，赠送用户20积分)</td>
                </tr>
            </table>
        </div>

    </div>

    <div class="panel panel-default panel-intro">
        <div class="panel-heading"><div class="panel-lead"><em>{:__('积分抵现配置')}</em></div></div>
        <div class="panel-body">
            <div class="form-group">
                <div class="col-xs-12 col-sm-2">
                    <input id="c-key" data-rule="required" class="form-control form-control" name="dikou" type="text" value="{$info.dikou}">
                </div>
                <span class="col-xs-12 col-sm-4">积分=1元</span>
            </div>
        </div>
    </div>
    <div class="panel panel-default panel-intro">
        <div class="panel-heading">

        </div>
        <div class="panel-body">
            <div class="form-group layer-footer">
                <label class="control-label col-xs-12 col-sm-2"></label>
                <div class="col-xs-12 col-sm-8">
                    <button type="submit" class="btn btn-success">{:__('保存')}</button>
                </div>
            </div>
        </div>
    </div>

</div>
</form>
